#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QThread>
#include <QStackedWidget>
#include <QListWidget>
#include <QHBoxLayout>
#include "net.h"
#include "camera.h"
#include "photo.h"
QT_BEGIN_NAMESPACE
namespace Ui {
class Widget;
}
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();
    net *home;
    camera *mycamera;
    photo*myphoto;

private slots:

private:
    Ui::Widget *ui;
    QStackedWidget *stackWidget ;
    QListWidget *listWidget;
    QHBoxLayout* HBox;
};
#endif // WIDGET_H
